// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Server from './server';
import globeUtils from './utils/globeUtils.js';
import webSocket from './components/websocket/websocketHandle.js'

import collector from './collect.js'
import Tom from './tom';
import Vue from 'vue'
Server.Vue = Vue
Tom.Vue = Vue
import App from './App'
import router from './router'
import ElementUI from 'element-ui'; 
import 'element-ui/lib/theme-chalk/index.css'; 

Vue.config.productionTip = false
Vue.use(ElementUI); 
/* eslint-disable no-new */
Vue.prototype.globeUtils = globeUtils;
Vue.prototype.webSocket = webSocket;



new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
